package cn.getech.data.metadata.model.req.collectiontablefield;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Description:
 * @Author: chenshiyang
 * @Date: 2021/8/11 14:35
 */
@ApiModel(description = "元数据表备注更新")
@Data
public class CollectiionTableFieldRemarksUpdate {

    @ApiModelProperty(value = "字段id")
    @NotNull(message = "字段id不能为空")
    private Integer fieldId;

    @ApiModelProperty(value = "备注")
    @NotBlank(message = "备注信息不能为空")
    private String remarks;

}
